﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MinimalistFoodStreet.BackEnd.Infrastructure.Attributes;
using MinimalistFoodStreet.BackEnd.Infrastructure.Dtos.Request.Functions;
using MinimalistFoodStreet.BackEnd.Infrastructure.Dtos.Response;

namespace MinimalistFoodStreet.BackEnd.Server.IServer.Tables
{
    [ProvideClassOrInterface]
    public interface ISearchRecordServer
    {
        public Task<ResponseApiDto> AddAsync(RequestSearchRecordAddDto dto,int bid);
        public Task<ResponseApiDto> DeleteAsync(RequestSearchRecordDeleteDto dto,int bid);
        public Task<ResponseApiDto> ClearAllAsync(int bid);
        public Task<ResponseApiDto> GetAllAsync(int bid);
    }
}
